package com.gxpt.app;

/**
 * Created by dufeng on 2017/9/19.
 */

public class MessageEvent {

    private int messageType;//信息类型

    boolean is = false;
    int index;
    private String message;

    String province;
    String city;
    String region;

    String ID;

    String id1,id2;

    String data_str;

    String data_ids;




    int int_1,int_2,int_3;
    String str_1,str_2,str_3;
    public MessageEvent(String message){

        this.message = message;

    }

    //返回动作类型
    public MessageEvent(int messageType){

        this.messageType     = messageType;
    }

    //选择行业
    public MessageEvent(int messageType,String message,String id1,String id2){

        this.messageType     = messageType;
        this.message         = message;
        this.id1             = id1;
        this.id2             = id2;

    }

    //选择行业
    public MessageEvent(int messageType,String message,String id1,String id2,int index){

        this.messageType     = messageType;
        this.message         = message;
        this.id1             = id1;
        this.id2             = id2;
        this.index           = index;

    }

    //选择行业
    public MessageEvent(int messageType,String data_str,String data_ids){

        this.messageType     = messageType;
        this.data_str        = data_str;
        this.data_ids        = data_ids;

    }

    //选择地区
    public MessageEvent(String message,String province,String city,String region){

        this.message    = message;
        this.province   = province;
        this.city       = city;
        this.region     = region;

    }

    //修改，ID
    public MessageEvent(String message,String ID){

        this.message    = message;
        this.ID         = ID;

    }

    public MessageEvent(int messageType,boolean is){

        this.messageType    = messageType;
        this.is             = is;

    }

    public MessageEvent(int messageType,int int_1,int int_2,int int_3,String str_1,String str_2,String str_3){

        this.messageType    = messageType;
        this.int_1          = int_1;
        this.int_2          = int_2;
        this.int_3          = int_3;
        this.str_1          = str_1;
        this.str_2          = str_2;
        this.str_3          = str_3;
    }

    public int getInt_1() {
        return this.int_1;
    }

    public int getInt_2() {
        return this.int_2;
    }

    public int getInt_3() {
        return this.int_3;
    }

    public String getStr_1() {
        return this.str_1;
    }

    public String getStr_2() {
        return this.str_2;
    }

    public String getStr_3() {
        return this.str_3;
    }












    public boolean getIs() {
        return this.is;
    }

    public int getIndex() {
        return index;
    }

    public int getMessageType() {
        return messageType;
    }
    public String getMessage() {
        return message;
    }

    public String getId1() {
        return id1;
    }

    public String getId2() {
        return id2;
    }

    public String getData_str() {
        return data_str;
    }
    public String getData_ids() {
        return data_ids;
    }


    public String getProvince() {
        return province;
    }
    public String getCity() {
        return city;
    }
    public String getRegion() {
        return region;
    }
    public String getID() {
        return ID;
    }
    public void setMessage(String message) {
        this.message = message;
    }
}
